package offerv1;

public class Offer58_2 {

    public String reverseLeftWords(String s, int n) {
        int length = s.length();
        n %= length;
        return s.substring(n) + s.substring(0, n);
    }
}
